x86emul: MOVNTI does not allow REP prefixes
authorJan Beulich <jbeulich@suse.com>
Wed, 14 Dec 2016 09:11:08 +0000 (10:11 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 Dec 2016 09:11:08 +0000 (10:11 +0100)
commit96a7cb37b921d2b320183d194d143262e1dd5b53
tree8e025f2936194133f8da6d879dd06725b46a3817
parentbd201eb1681ce6eb1b2d53b4d26a27081956770f
x86emul: MOVNTI does not allow REP prefixes

Just like 66, prefixes F3 and F2 cause #UD.

Also adjust a related comment, which in its previous wording was
misleading (as in 16-bit mode there would nothing be undone when
adjusting operand size from 2 to 4).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c